package com.zcy.auth.dto;

import com.zcy.auth.domain.Role;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.List;

/**
 * <p>
 *
 * </p>
 *
 * @author lucker
 * @date 2023/12/4 22:53
 */
@EqualsAndHashCode(callSuper = true)
@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
@ApiModel(value="角色转换对象", description="RoleDTO")
public class RoleDTO extends Role {
    private static final long serialVersionUID = 1L;

   /* @ApiModelProperty(value = "角色编号")
    private Long id;

    @ApiModelProperty(value = "角色名称")
    private String name;

    @ApiModelProperty(value = "角色唯一标识")
    private String sn;*/

    @ApiModelProperty(value = "权限Sn列表")
    private List<String> permissionSnList;
}
